#ifndef XGINVOKEMESSAGE_H
#define XGINVOKEMESSAGE_H

#include "Interfaces/XgMessage.h"
#include "Templates/XgInvokable.h"

/************************************************************************/
/* Class XgInvokeMessage                                                */
/************************************************************************/
class XgInvokeMessage : public XgMessage
{
public:
	XgInvokeMessage( XgInvokable<void>* invokableIface )
		: _invokableIface(invokableIface) {}

public:
	void process();

private:
	XgInvokable<void>* _invokableIface;
};

#endif //XGINVOKEMESSAGE_H